home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Mailbox/MIME Entity
(archive/mbox).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Newsgroup Content (archive/news)
| magic
| Supported |
100%
| dexvert
| Mailbox/MIME Entity (archive/mbox)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| news text
| default
| |
99%
| file
| C source, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| dexmagic
| PrintFox/Pagefox WEAK
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/950 MIME Email (1.0)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| message/news
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 65 6e | 67 6e 65 77 73 31 2e 45 |Path: en|gnews1.E|
|00000010| 6e 67 2e 53 75 6e 2e 43 | 4f 4d 21 75 73 65 6e 65 |ng.Sun.C|OM!usene|
|00000020| 74 0a 46 72 6f 6d 3a 20 | 52 41 4a 55 20 41 4c 4c |t.From: |RAJU ALL|
|00000030| 55 52 49 20 3c 72 61 6a | 75 2e 61 6c 6c 75 72 69 |URI <raj|u.alluri|
|00000040| 40 53 75 6e 2e 43 4f 4d | 3e 0a 4e 65 77 73 67 72 |@Sun.COM|>.Newsgr|
|00000050| 6f 75 70 73 3a 20 63 6f | 6d 70 2e 6c 61 6e 67 2e |oups: co|mp.lang.|
|00000060| 63 2b 2b 0a 53 75 62 6a | 65 63 74 3a 20 52 65 3a |c++.Subj|ect: Re:|
|00000070| 20 56 49 52 54 55 41 4c | 20 49 4e 48 45 52 49 54 | VIRTUAL| INHERIT|
|00000080| 41 4e 43 45 3a 20 62 61 | 73 65 20 63 6c 61 73 73 |ANCE: ba|se class|
|00000090| 20 54 4f 20 64 65 72 69 | 76 65 64 20 63 6c 61 73 | TO deri|ved clas|
|000000a0| 73 20 6f 62 6a 65 63 74 | 20 43 4f 4e 56 45 52 53 |s object| CONVERS|
|000000b0| 49 4f 4e 0a 44 61 74 65 | 3a 20 32 35 20 4d 61 72 |ION.Date|: 25 Mar|
|000000c0| 20 31 39 39 36 20 32 32 | 3a 32 33 3a 35 35 20 47 | 1996 22|:23:55 G|
|000000d0| 4d 54 0a 4f 72 67 61 6e | 69 7a 61 74 69 6f 6e 3a |MT.Organ|ization:|
|000000e0| 20 53 75 6e 20 4d 69 63 | 72 6f 73 79 73 74 65 6d | Sun Mic|rosystem|
|000000f0| 73 20 49 6e 63 2e 2c 20 | 4d 6f 75 6e 74 61 69 6e |s Inc., |Mountain|
|00000100| 20 56 69 65 77 2c 20 43 | 41 0a 4d 65 73 73 61 67 | View, C|A.Messag|
|00000110| 65 2d 49 44 3a 20 3c 34 | 6a 37 36 64 72 24 6a 66 |e-ID: <4|j76dr$jf|
|00000120| 65 40 65 6e 67 6e 65 77 | 73 31 2e 45 6e 67 2e 53 |e@engnew|s1.Eng.S|
|00000130| 75 6e 2e 43 4f 4d 3e 0a | 52 65 66 65 72 65 6e 63 |un.COM>.|Referenc|
|00000140| 65 73 3a 20 3c 33 31 35 | 36 38 31 36 42 2e 34 45 |es: <315|6816B.4E|
|00000150| 38 41 40 65 75 72 6f 63 | 6f 6e 74 72 6f 6c 2e 66 |8A@euroc|ontrol.f|
|00000160| 72 3e 0a 4e 4e 54 50 2d | 50 6f 73 74 69 6e 67 2d |r>.NNTP-|Posting-|
|00000170| 48 6f 73 74 3a 20 67 6f | 62 69 6e 64 2e 65 6e 67 |Host: go|bind.eng|
|00000180| 2e 73 75 6e 2e 63 6f 6d | 0a 4d 69 6d 65 2d 56 65 |.sun.com|.Mime-Ve|
|00000190| 72 73 69 6f 6e 3a 20 31 | 2e 30 0a 43 6f 6e 74 65 |rsion: 1|.0.Conte|
|000001a0| 6e 74 2d 54 79 70 65 3a | 20 74 65 78 74 2f 70 6c |nt-Type:| text/pl|
|000001b0| 61 69 6e 3b 20 63 68 61 | 72 73 65 74 3d 75 73 2d |ain; cha|rset=us-|
|000001c0| 61 73 63 69 69 0a 43 6f | 6e 74 65 6e 74 2d 54 72 |ascii.Co|ntent-Tr|
|000001d0| 61 6e 73 66 65 72 2d 45 | 6e 63 6f 64 69 6e 67 3a |ansfer-E|ncoding:|
|000001e0| 20 37 62 69 74 0a 58 2d | 4d 61 69 6c 65 72 3a 20 | 7bit.X-|Mailer: |
|000001f0| 4d 6f 7a 69 6c 6c 61 20 | 31 2e 31 32 53 55 4e 20 |Mozilla |1.12SUN |
|00000200| 28 58 31 31 3b 20 49 3b | 20 53 75 6e 4f 53 20 35 |(X11; I;| SunOS 5|
|00000210| 2e 34 20 73 75 6e 34 6d | 29 0a 54 6f 3a 20 4a 65 |.4 sun4m|).To: Je|
|00000220| 61 6e 2d 43 68 72 69 73 | 74 6f 70 68 65 2e 43 6f |an-Chris|tophe.Co|
|00000230| 74 61 40 65 75 72 6f 63 | 6f 6e 74 72 6f 6c 2e 66 |ta@euroc|ontrol.f|
|00000240| 72 0a 58 2d 55 52 4c 3a | 20 6e 65 77 73 3a 33 31 |r.X-URL:| news:31|
|00000250| 35 36 38 31 36 42 2e 34 | 45 38 41 40 65 75 72 6f |56816B.4|E8A@euro|
|00000260| 63 6f 6e 74 72 6f 6c 2e | 66 72 0a 0a 4a 65 61 6e |control.|fr..Jean|
|00000270| 2d 43 68 72 69 73 74 6f | 70 68 65 20 43 4f 54 41 |-Christo|phe COTA|
|00000280| 20 2d 20 43 4f 54 20 3c | 4a 65 61 6e 2d 43 68 72 | - COT <|Jean-Chr|
|00000290| 69 73 74 6f 70 68 65 2e | 43 6f 74 61 40 65 75 72 |istophe.|Cota@eur|
|000002a0| 6f 63 6f 6e 74 72 6f 6c | 2e 66 72 3e 20 77 72 6f |ocontrol|.fr> wro|
|000002b0| 74 65 3a 0a 3e 49 27 6d | 20 64 65 61 6c 69 6e 67 |te:.>I'm| dealing|
|000002c0| 20 77 69 74 68 20 61 20 | 63 6c 61 73 73 20 68 69 | with a |class hi|
|000002d0| 65 72 61 72 63 68 79 20 | 77 68 69 63 68 20 75 73 |erarchy |which us|
|000002e0| 65 73 20 6d 75 6c 74 69 | 70 6c 65 20 69 6e 68 65 |es multi|ple inhe|
|000002f0| 72 69 74 61 6e 63 65 20 | 61 73 0a 3e 77 65 6c 6c |ritance |as.>well|
|00000300| 20 61 73 20 70 6f 6c 79 | 6d 6f 72 70 68 69 73 6d | as poly|morphism|
|00000310| 2e 20 49 74 20 77 61 73 | 20 64 65 63 69 64 65 64 |. It was| decided|
|00000320| 2c 20 66 6f 72 20 73 6f | 6d 65 20 72 65 61 73 6f |, for so|me reaso|
|00000330| 6e 2c 20 74 6f 20 75 73 | 65 20 73 79 73 74 65 6d |n, to us|e system|
|00000340| 61 2d 0a 3e 2d 74 69 63 | 61 6c 6c 79 20 76 69 72 |a-.>-tic|ally vir|
|00000350| 74 75 61 6c 20 69 6e 68 | 65 72 69 74 61 6e 63 65 |tual inh|eritance|
|00000360| 2e 0a 3e 0a 3e 54 68 65 | 20 70 72 6f 62 6c 65 6d |..>.>The| problem|
|00000370| 20 69 73 20 74 68 61 74 | 20 49 20 6e 65 65 64 20 | is that| I need |
|00000380| 74 6f 20 62 65 20 61 62 | 6c 65 20 74 6f 20 63 6f |to be ab|le to co|
|00000390| 6e 76 65 72 74 20 65 78 | 70 6c 69 63 69 74 6c 79 |nvert ex|plicitly|
|000003a0| 20 61 20 62 61 73 65 0a | 3e 63 6c 61 73 73 20 6f | a base.|>class o|
|000003b0| 62 6a 65 63 74 20 74 6f | 20 61 20 64 65 72 69 76 |bject to| a deriv|
|000003c0| 65 64 20 63 6c 61 73 73 | 20 6f 6e 65 2c 20 20 77 |ed class| one, w|
|000003d0| 68 69 63 68 20 69 73 20 | 69 6d 70 6f 73 73 69 62 |hich is |impossib|
|000003e0| 6c 65 20 69 6e 20 74 68 | 65 20 76 69 72 74 75 61 |le in th|e virtua|
|000003f0| 6c 0a 3e 69 6e 68 65 72 | 69 74 61 6e 63 65 20 70 |l.>inher|itance p|
|00000400| 61 72 61 64 69 67 6d 20 | 63 6f 6e 74 72 61 72 79 |aradigm |contrary|
|00000410| 20 74 6f 20 74 68 65 20 | 73 74 61 74 69 63 20 6f | to the |static o|
|00000420| 6e 65 2e 0a 3e 0a 3e 49 | 20 67 75 65 73 73 20 74 |ne..>.>I| guess t|
|00000430| 68 61 74 20 74 68 69 73 | 20 69 73 20 61 20 76 65 |hat this| is a ve|
|00000440| 72 79 20 63 6c 61 73 73 | 69 63 61 6c 20 71 75 65 |ry class|ical que|
|00000450| 73 74 69 6f 6e 20 28 73 | 6f 72 72 79 2c 20 49 27 |stion (s|orry, I'|
|00000460| 76 65 20 6e 6f 74 20 66 | 6f 75 6e 64 0a 3e 61 6e |ve not f|ound.>an|
|00000470| 79 20 63 6c 75 65 20 69 | 6e 20 74 68 65 20 22 46 |y clue i|n the "F|
|00000480| 41 51 20 70 6f 73 74 69 | 6e 67 22 29 2c 20 61 6e |AQ posti|ng"), an|
|00000490| 64 20 49 27 6d 20 73 75 | 72 65 20 74 68 61 74 20 |d I'm su|re that |
|000004a0| 74 68 65 20 6e 65 65 64 | 20 66 6f 72 20 73 75 63 |the need| for suc|
|000004b0| 68 0a 3e 66 65 61 74 75 | 72 65 20 77 69 6c 6c 20 |h.>featu|re will |
|000004c0| 72 61 69 73 65 20 64 69 | 66 66 65 72 65 6e 74 20 |raise di|fferent |
|000004d0| 6f 70 69 6e 69 6f 6e 73 | 20 69 6e 20 74 68 65 20 |opinions| in the |
|000004e0| 43 2b 2b 20 65 78 70 65 | 72 74 73 20 63 6f 6d 6d |C++ expe|rts comm|
|000004f0| 75 6e 69 74 79 2e 0a 3e | 54 68 65 20 66 61 63 74 |unity..>|The fact|
|00000500| 20 69 73 20 49 20 64 6f | 6e 27 74 20 72 65 61 6c | is I do|n't real|
|00000510| 6c 79 20 63 61 74 63 68 | 20 74 68 65 20 70 68 69 |ly catch| the phi|
|00000520| 6c 6f 73 6f 70 68 69 63 | 61 6c 20 72 65 61 73 6f |losophic|al reaso|
|00000530| 6e 20 28 73 75 72 65 2c | 20 74 68 65 72 65 0a 3e |n (sure,| there.>|
|00000540| 6d 75 73 74 20 62 65 20 | 69 6d 70 6c 65 6d 65 6e |must be |implemen|
|00000550| 74 61 74 69 6f 6e 20 6f | 6e 65 29 20 77 68 79 20 |tation o|ne) why |
|00000560| 43 2b 2b 20 61 6c 6c 6f | 77 73 20 74 68 65 20 6f |C++ allo|ws the o|
|00000570| 70 65 72 61 74 69 6f 6e | 20 69 6e 20 6f 6e 65 20 |peration| in one |
|00000580| 63 61 73 65 0a 3e 28 65 | 76 65 6e 20 69 66 20 69 |case.>(e|ven if i|
|00000590| 74 27 73 20 64 61 6e 67 | 65 72 6f 75 73 29 20 61 |t's dang|erous) a|
|000005a0| 6e 64 20 66 6f 72 62 69 | 64 73 20 69 74 20 69 6e |nd forbi|ds it in|
|000005b0| 20 74 68 65 20 6f 74 68 | 65 72 2e 2e 2e 0a 3e 0a | the oth|er....>.|
|000005c0| 3e 48 6f 77 65 76 65 72 | 2c 20 49 27 76 65 20 74 |>However|, I've t|
|000005d0| 72 69 65 64 20 74 68 65 | 20 66 6f 6c 6c 6f 77 69 |ried the| followi|
|000005e0| 6e 67 20 74 65 73 74 20 | 28 70 6c 65 61 73 65 2c |ng test |(please,|
|000005f0| 20 64 6f 6e 27 74 20 73 | 63 72 65 61 6d 20 3b 2d | don't s|cream ;-|
|00000600| 29 29 2c 20 62 75 74 0a | 3e 69 74 20 6c 65 61 64 |)), but.|>it lead|
|00000610| 73 20 74 6f 20 75 6e 64 | 65 66 69 6e 65 64 20 61 |s to und|efined a|
|00000620| 6e 64 20 64 61 6e 67 65 | 72 6f 75 73 20 6f 70 65 |nd dange|rous ope|
|00000630| 72 61 74 69 6f 6e 73 2e | 20 49 20 64 6f 6e 27 74 |rations.| I don't|
|00000640| 20 68 61 76 65 20 65 6e | 6f 75 67 68 0a 3e 6b 6e | have en|ough.>kn|
|00000650| 6f 77 6c 65 64 67 65 20 | 6f 6e 20 76 69 72 74 75 |owledge |on virtu|
|00000660| 61 6c 20 74 61 62 6c 65 | 73 20 6d 61 6e 61 67 65 |al table|s manage|
|00000670| 6d 65 6e 74 20 74 6f 20 | 72 65 61 6c 6c 79 20 75 |ment to |really u|
|00000680| 6e 64 65 72 73 74 61 6e | 64 20 77 68 61 74 27 73 |nderstan|d what's|
|00000690| 0a 3e 68 61 70 70 65 6e | 69 6e 67 2c 20 70 65 72 |.>happen|ing, per|
|000006a0| 68 61 70 73 20 73 6f 6d | 65 6f 6e 65 20 77 69 6c |haps som|eone wil|
|000006b0| 6c 20 62 65 20 6b 69 6e | 64 20 65 6e 6f 75 67 68 |l be kin|d enough|
|000006c0| 20 61 6e 64 20 74 72 79 | 20 74 6f 20 65 78 70 6c | and try| to expl|
|000006d0| 61 69 6e 20 69 74 0a 3e | 74 6f 20 6d 65 20 6f 72 |ain it.>|to me or|
|000006e0| 20 67 69 76 65 20 6d 65 | 20 73 6f 6d 65 20 72 65 | give me| some re|
|000006f0| 66 65 72 65 6e 63 65 73 | 20 77 68 65 72 65 20 49 |ferences| where I|
|00000700| 20 63 6f 75 6c 64 20 67 | 65 74 20 74 68 65 20 69 | could g|et the i|
|00000710| 6e 66 6f 2e 0a 3e 0a 3e | 63 6c 61 73 73 20 62 61 |nfo..>.>|class ba|
|00000720| 73 65 20 7b 0a 3e 70 75 | 62 6c 69 63 3a 0a 3e 20 |se {.>pu|blic:.> |
|00000730| 20 20 76 69 72 74 75 61 | 6c 20 76 6f 69 64 2a 20 | virtua|l void* |
|00000740| 5f 64 65 72 65 66 28 29 | 20 3d 20 30 3b 0a 3e 7d |_deref()| = 0;.>}|
|00000750| 3b 0a 3e 0a 3e 63 6c 61 | 73 73 20 64 65 72 69 76 |;.>.>cla|ss deriv|
|00000760| 65 64 5f 31 20 3a 20 76 | 69 72 74 75 61 6c 20 70 |ed_1 : v|irtual p|
|00000770| 75 62 6c 69 63 20 62 61 | 73 65 20 7b 0a 3e 70 75 |ublic ba|se {.>pu|
|00000780| 62 6c 69 63 3a 0a 3e 20 | 20 20 76 69 72 74 75 61 |blic:.> | virtua|
|00000790| 6c 20 76 6f 69 64 20 66 | 6f 6f 5f 31 28 29 20 7b |l void f|oo_1() {|
|000007a0| 7d 3b 0a 3e 7d 3b 0a 3e | 0a 3e 63 6c 61 73 73 20 |};.>};.>|.>class |
|000007b0| 64 65 72 69 76 65 64 5f | 32 20 3a 20 76 69 72 74 |derived_|2 : virt|
|000007c0| 75 61 6c 20 70 75 62 6c | 69 63 20 62 61 73 65 20 |ual publ|ic base |
|000007d0| 7b 0a 3e 70 75 62 6c 69 | 63 3a 0a 3e 20 20 20 76 |{.>publi|c:.> v|
|000007e0| 69 72 74 75 61 6c 20 76 | 6f 69 64 20 66 6f 6f 5f |irtual v|oid foo_|
|000007f0| 32 28 29 20 7b 7d 3b 0a | 3e 7d 3b 0a 3e 0a 3e 63 |2() {};.|>};.>.>c|
|00000800| 6c 61 73 73 20 64 65 72 | 69 76 65 64 5f 33 20 3a |lass der|ived_3 :|
|00000810| 20 76 69 72 74 75 61 6c | 20 70 75 62 6c 69 63 20 | virtual| public |
|00000820| 64 65 72 69 76 65 64 5f | 32 20 7b 0a 3e 70 75 62 |derived_|2 {.>pub|
|00000830| 6c 69 63 3a 0a 3e 20 20 | 20 76 6f 69 64 20 66 6f |lic:.> | void fo|
|00000840| 6f 5f 32 28 29 20 7b 20 | 63 6f 75 74 20 3c 3c 20 |o_2() { |cout << |
|00000850| 22 64 65 72 69 76 65 64 | 5f 33 3a 3a 66 6f 6f 5f |"derived|_3::foo_|
|00000860| 32 28 29 22 20 3c 3c 20 | 65 6e 64 6c 3b 20 7d 3b |2()" << |endl; };|
|00000870| 0a 3e 7d 3b 0a 3e 0a 3e | 63 6c 61 73 73 20 66 69 |.>};.>.>|class fi|
|00000880| 6e 61 6c 5f 31 20 3a 20 | 76 69 72 74 75 61 6c 20 |nal_1 : |virtual |
|00000890| 70 75 62 6c 69 63 20 64 | 65 72 69 76 65 64 5f 31 |public d|erived_1|
|000008a0| 2c 20 76 69 72 74 75 61 | 6c 20 70 75 62 6c 69 63 |, virtua|l public|
|000008b0| 20 64 65 72 69 76 65 64 | 5f 33 20 7b 0a 3e 70 75 | derived|_3 {.>pu|
|000008c0| 62 6c 69 63 3a 0a 3e 20 | 20 20 76 6f 69 64 2a 20 |blic:.> | void* |
|000008d0| 5f 64 65 72 65 66 28 29 | 20 7b 20 63 6f 75 74 20 |_deref()| { cout |
|000008e0| 3c 3c 20 22 66 69 6e 61 | 6c 5f 31 3a 3a 5f 64 65 |<< "fina|l_1::_de|
|000008f0| 72 65 66 28 29 22 20 3c | 3c 20 65 6e 64 6c 3b 20 |ref()" <|< endl; |
|00000900| 72 65 74 75 72 6e 20 74 | 68 69 73 3b 20 7d 3b 0a |return t|his; };.|
|00000910| 3e 20 20 20 76 6f 69 64 | 20 66 6f 6f 5f 31 28 29 |> void| foo_1()|
|00000920| 20 7b 20 63 6f 75 74 20 | 3c 3c 20 22 66 69 6e 61 | { cout |<< "fina|
|00000930| 6c 5f 31 3a 3a 66 6f 6f | 5f 31 28 29 22 20 3c 3c |l_1::foo|_1()" <<|
|00000940| 20 65 6e 64 6c 3b 20 7d | 3b 0a 3e 7d 3b 0a 3e 0a | endl; }|;.>};.>.|
|00000950| 3e 63 6c 61 73 73 20 66 | 69 6e 61 6c 5f 32 20 3a |>class f|inal_2 :|
|00000960| 20 76 69 72 74 75 61 6c | 20 70 75 62 6c 69 63 20 | virtual| public |
|00000970| 64 65 72 69 76 65 64 5f | 31 2c 20 76 69 72 74 75 |derived_|1, virtu|
|00000980| 61 6c 20 70 75 62 6c 69 | 63 20 64 65 72 69 76 65 |al publi|c derive|
|00000990| 64 5f 33 20 7b 0a 3e 70 | 75 62 6c 69 63 3a 0a 3e |d_3 {.>p|ublic:.>|
|000009a0| 20 20 20 76 6f 69 64 2a | 20 5f 64 65 72 65 66 28 | void*| _deref(|
|000009b0| 29 20 7b 20 63 6f 75 74 | 20 3c 3c 20 22 66 69 6e |) { cout| << "fin|
|000009c0| 61 6c 5f 32 3a 3a 5f 64 | 65 72 65 66 28 29 22 20 |al_2::_d|eref()" |
|000009d0| 3c 3c 20 65 6e 64 6c 3b | 20 72 65 74 75 72 6e 20 |<< endl;| return |
|000009e0| 74 68 69 73 3b 20 7d 3b | 0a 3e 20 20 20 76 6f 69 |this; };|.> voi|
|000009f0| 64 20 66 6f 6f 5f 31 28 | 29 20 7b 20 63 6f 75 74 |d foo_1(|) { cout|
|00000a00| 20 3c 3c 20 22 66 69 6e | 61 6c 5f 32 3a 3a 66 6f | << "fin|al_2::fo|
|00000a10| 6f 5f 31 28 29 22 20 3c | 3c 20 65 6e 64 6c 3b 20 |o_1()" <|< endl; |
|00000a20| 7d 3b 0a 3e 7d 3b 0a 3e | 2e 2e 2e 0a 3e 0a 3e 0a |};.>};.>|....>.>.|
|00000a30| 3e 6d 61 69 6e 28 29 20 | 7b 0a 3e 20 20 20 64 65 |>main() |{.> de|
|00000a40| 72 69 76 65 64 5f 31 20 | 2a 64 31 3b 0a 3e 20 20 |rived_1 |*d1;.> |
|00000a50| 20 64 65 72 69 76 65 64 | 5f 32 20 2a 64 32 3b 0a | derived|_2 *d2;.|
|00000a60| 3e 0a 3e 20 20 20 64 31 | 20 3d 20 6e 65 77 20 66 |>.> d1| = new f|
|00000a70| 69 6e 61 6c 5f 31 3b 0a | 3e 0a 3e 20 20 20 64 31 |inal_1;.|>.> d1|
|00000a80| 2d 3e 66 6f 6f 5f 31 28 | 29 3b 0a 3e 20 20 20 64 |->foo_1(|);.> d|
|00000a90| 32 20 3d 20 28 64 65 72 | 69 76 65 64 5f 32 20 2a |2 = (der|ived_2 *|
|00000aa0| 29 28 64 31 2d 3e 5f 64 | 65 72 65 66 28 29 29 3b |)(d1->_d|eref());|
|00000ab0| 0a 3e 20 20 20 64 32 2d | 3e 66 6f 6f 5f 32 28 29 |.> d2-|>foo_2()|
|00000ac0| 3b 0a 3e 7d 0a 3e 0a 3e | 0a 3e 54 68 69 73 20 70 |;.>}.>.>|.>This p|
|00000ad0| 72 6f 67 72 61 6d 20 70 | 72 6f 64 75 63 65 73 20 |rogram p|roduces |
|00000ae0| 74 68 65 20 66 6f 6c 6c | 6f 77 69 6e 67 3a 0a 3e |the foll|owing:.>|
|00000af0| 0a 3e 66 69 6e 61 6c 5f | 31 3a 3a 66 6f 6f 5f 31 |.>final_|1::foo_1|
|00000b00| 28 29 0a 3e 66 69 6e 61 | 6c 5f 31 3a 3a 5f 64 65 |().>fina|l_1::_de|
|00000b10| 72 65 66 28 29 0a 3e 66 | 69 6e 61 6c 5f 31 3a 3a |ref().>f|inal_1::|
|00000b20| 5f 64 65 72 65 66 28 29 | 0a 3e 0a 3e 54 68 65 20 |_deref()|.>.>The |
|00000b30| 70 75 72 70 6f 73 65 20 | 6f 66 20 74 68 69 73 20 |purpose |of this |
|00000b40| 70 72 6f 67 72 61 6d 20 | 69 73 3a 0a 3e 49 27 76 |program |is:.>I'v|
|00000b50| 65 20 67 6f 74 20 61 20 | 64 65 72 69 76 65 64 5f |e got a |derived_|
|00000b60| 31 20 63 6c 61 73 73 20 | 6f 62 6a 65 63 74 20 77 |1 class |object w|
|00000b70| 68 69 63 68 20 49 20 6b | 6e 6f 77 20 69 73 20 61 |hich I k|now is a|
|00000b80| 20 66 69 6e 61 6c 5f 58 | 20 6f 62 6a 65 63 74 2c | final_X| object,|
|00000b90| 0a 3e 61 6e 64 20 49 20 | 77 61 6e 74 20 74 6f 20 |.>and I |want to |
|00000ba0| 63 61 6c 6c 20 6f 6e 20 | 74 68 69 73 20 6f 62 6a |call on |this obj|
|00000bb0| 65 63 74 20 74 68 65 20 | 76 69 72 74 75 61 6c 20 |ect the |virtual |
|00000bc0| 66 75 6e 63 74 69 6f 6e | 73 20 66 6f 6f 5f 31 28 |function|s foo_1(|
|00000bd0| 29 20 61 6e 64 0a 3e 66 | 6f 6f 5f 32 28 29 2e 0a |) and.>f|oo_2()..|
|00000be0| 3e 0a 3e 49 20 67 75 65 | 73 73 20 49 27 6d 20 71 |>.>I gue|ss I'm q|
|00000bf0| 75 69 74 65 20 6c 75 63 | 6b 79 20 69 74 20 64 6f |uite luc|ky it do|
|00000c00| 65 73 20 6e 6f 74 20 6d | 65 72 65 6c 79 20 65 78 |es not m|erely ex|
|00000c10| 70 6c 6f 64 65 20 61 6e | 64 20 64 75 6d 70 20 61 |plode an|d dump a|
|00000c20| 20 63 6f 72 65 0a 3e 77 | 68 69 6c 65 20 65 78 65 | core.>w|hile exe|
|00000c30| 63 75 74 69 6e 67 20 74 | 68 65 20 6c 61 73 74 20 |cuting t|he last |
|00000c40| 69 6e 73 74 72 75 63 74 | 69 6f 6e 2e 2e 2e 20 62 |instruct|ion... b|
|00000c50| 65 63 61 75 73 65 2c 20 | 61 73 20 79 6f 75 20 63 |ecause, |as you c|
|00000c60| 61 6e 20 73 65 65 2c 0a | 3e 77 68 61 74 20 49 20 |an see,.|>what I |
|00000c70| 65 78 70 65 63 74 65 64 | 20 74 6f 20 62 65 20 74 |expected| to be t|
|00000c80| 68 65 20 66 6f 6f 5f 32 | 20 65 6e 74 72 79 20 69 |he foo_2| entry i|
|00000c90| 6e 20 74 68 65 20 2a 64 | 32 20 6f 62 6a 65 63 74 |n the *d|2 object|
|00000ca0| 20 76 69 72 74 75 61 6c | 0a 3e 74 61 62 6c 65 20 | virtual|.>table |
|00000cb0| 65 6e 64 73 20 74 6f 20 | 62 65 20 74 68 65 20 66 |ends to |be the f|
|00000cc0| 69 6e 61 6c 5f 31 3a 3a | 5f 64 65 72 65 66 28 29 |inal_1::|_deref()|
|00000cd0| 20 66 75 6e 63 74 69 6f | 6e 3a 20 69 6e 20 74 68 | functio|n: in th|
|00000ce0| 65 20 74 68 69 72 64 20 | 6c 69 6e 65 0a 3e 49 20 |e third |line.>I |
|00000cf0| 65 78 70 65 63 74 65 64 | 20 74 6f 20 73 65 65 20 |expected| to see |
|00000d00| 22 64 65 72 69 76 65 64 | 5f 33 3a 3a 66 6f 6f 5f |"derived|_3::foo_|
|00000d10| 32 28 29 22 20 61 6e 64 | 20 6e 6f 74 20 22 66 69 |2()" and| not "fi|
|00000d20| 6e 61 6c 5f 31 3a 3a 5f | 64 65 72 65 66 28 29 22 |nal_1::_|deref()"|
|00000d30| 2e 0a 3e 0a 3e 4f 66 20 | 63 6f 75 72 73 65 2c 20 |..>.>Of |course, |
|00000d40| 69 66 20 64 65 72 69 76 | 65 64 5f 33 20 73 74 61 |if deriv|ed_3 sta|
|00000d50| 74 69 63 61 6c 6c 79 20 | 69 6e 68 65 72 69 74 73 |tically |inherits|
|00000d60| 20 66 72 6f 6d 20 64 65 | 72 69 76 65 64 5f 32 20 | from de|rived_2 |
|00000d70| 61 6e 64 0a 3e 66 69 6e | 61 6c 5f 58 20 73 74 61 |and.>fin|al_X sta|
|00000d80| 74 69 63 61 6c 6c 79 20 | 69 6e 68 65 72 69 74 20 |tically |inherit |
|00000d90| 66 72 6f 6d 20 64 65 72 | 69 76 65 64 5f 33 20 61 |from der|ived_3 a|
|00000da0| 6e 64 20 64 65 72 69 76 | 65 64 5f 31 2c 20 74 68 |nd deriv|ed_1, th|
|00000db0| 65 20 77 68 6f 6c 65 0a | 3e 74 68 69 6e 67 20 77 |e whole.|>thing w|
|00000dc0| 69 6c 6c 20 77 6f 72 6b | 20 62 75 74 2c 20 61 73 |ill work| but, as|
|00000dd0| 20 49 20 73 61 69 64 20 | 61 74 20 74 68 65 20 62 | I said |at the b|
|00000de0| 65 67 69 6e 69 6e 67 2c | 20 49 27 6d 20 6e 6f 74 |egining,| I'm not|
|00000df0| 20 73 75 70 70 6f 73 65 | 64 0a 3e 74 6f 20 75 73 | suppose|d.>to us|
|00000e00| 65 20 6e 6f 6e 76 69 72 | 74 75 61 6c 20 69 6e 68 |e nonvir|tual inh|
|00000e10| 65 72 69 74 61 6e 63 65 | 2e 2e 2e 0a 3e 0a 3e 41 |eritance|....>.>A|
|00000e20| 6e 79 20 68 65 6c 70 20 | 77 69 6c 6c 20 62 65 20 |ny help |will be |
|00000e30| 61 70 70 72 65 63 69 61 | 74 65 64 2e 0a 3e 0a 3e |apprecia|ted..>.>|
|00000e40| 2d 2d 20 0a 3e 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |-- .>---|--------|
|00000e50| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000e60| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000e70| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000e80| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 0a 3e 4d 72 20 4a 65 |--------|-.>Mr Je|
|00000e90| 61 6e 2d 43 68 72 69 73 | 74 6f 70 68 65 20 43 6f |an-Chris|tophe Co|
|00000ea0| 74 61 20 20 20 20 20 20 | 20 20 20 20 20 20 20 7c |ta | ||
|00000eb0| 20 20 20 20 20 20 53 79 | 73 74 65 6d 73 20 41 72 | Sy|stems Ar|
|00000ec0| 63 68 69 74 65 63 74 75 | 72 65 20 28 41 52 48 29 |chitectu|re (ARH)|
|00000ed0| 0a 3e 4a 65 61 6e 2d 43 | 68 72 69 73 74 6f 70 68 |.>Jean-C|hristoph|
|00000ee0| 65 2e 43 6f 74 61 40 65 | 75 72 6f 63 6f 6e 74 72 |e.Cota@e|urocontr|
|00000ef0| 6f 6c 2e 66 72 20 7c 0a | 3e 68 74 74 70 3a 2f 2f |ol.fr |.|>http://|
|00000f00| 77 77 77 2e 65 75 72 6f | 63 6f 6e 74 72 6f 6c 2e |www.euro|control.|
|00000f10| 66 72 20 20 20 20 20 20 | 20 20 20 20 20 7c 20 45 |fr | | E|
|00000f20| 55 52 4f 43 4f 4e 54 52 | 4f 4c 20 43 65 6e 74 72 |UROCONTR|OL Centr|
|00000f30| 65 20 45 78 70 65 72 69 | 6d 65 6e 74 61 6c 0a 3e |e Experi|mental.>|
|00000f40| 74 65 6c 3a 20 2b 33 33 | 20 31 20 36 39 38 38 37 |tel: +33| 1 69887|
|00000f50| 36 38 33 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |683 | |
|00000f60| 20 20 20 20 7c 20 20 20 | 20 20 20 42 50 31 35 2c | | | BP15,|
|00000f70| 20 39 31 32 32 32 20 42 | 72 65 74 69 67 6e 79 20 | 91222 B|retigny |
|00000f80| 43 65 64 65 78 0a 3e 66 | 61 78 3a 20 2b 33 33 20 |Cedex.>f|ax: +33 |
|00000f90| 31 20 36 39 38 38 37 32 | 32 37 20 20 20 20 20 20 |1 698872|27 |
|00000fa0| 20 20 20 20 20 20 20 20 | 20 20 20 7c 20 20 20 20 | | | |
|00000fb0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000fc0| 20 20 20 20 20 20 46 52 | 41 4e 43 45 0a 3e 2d 2d | FR|ANCE.>--|
|00000fd0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000fe0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000ff0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001000| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001010| 2d 2d 2d 0a 0a 46 72 6f | 6d 20 79 6f 75 72 20 64 |---..Fro|m your d|
|00001020| 65 73 63 72 69 70 74 69 | 6f 6e 2c 20 77 68 61 74 |escripti|on, what|
|00001030| 20 49 20 63 6f 75 6c 64 | 20 63 6f 6e 63 6c 75 64 | I could| conclud|
|00001040| 65 20 69 73 0a 2d 20 49 | 74 20 69 73 20 61 73 73 |e is.- I|t is ass|
|00001050| 75 72 65 64 20 74 68 61 | 74 20 74 68 65 20 64 65 |ured tha|t the de|
|00001060| 72 69 76 65 64 5f 31 20 | 70 6f 69 6e 74 65 72 20 |rived_1 |pointer |
|00001070| 61 74 20 61 6e 79 20 74 | 69 6d 65 20 69 73 20 70 |at any t|ime is p|
|00001080| 6f 69 6e 74 69 6e 67 20 | 74 6f 20 61 0a 20 20 66 |ointing |to a. f|
|00001090| 69 6e 61 6c 5f 58 20 6f | 62 6a 65 63 74 2e 0a 2d |inal_X o|bject..-|
|000010a0| 20 41 6e 79 20 66 69 6e | 61 6c 5f 58 20 63 6c 61 | Any fin|al_X cla|
|000010b0| 73 73 20 69 73 20 76 69 | 72 74 75 61 6c 6c 79 20 |ss is vi|rtually |
|000010c0| 64 65 72 69 76 65 64 2f | 64 65 73 63 65 6e 64 65 |derived/|descende|
|000010d0| 64 20 66 72 6f 6d 20 64 | 65 72 69 76 65 64 5f 33 |d from d|erived_3|
|000010e0| 2e 0a 0a 49 66 20 74 68 | 69 73 20 68 6f 6c 64 73 |...If th|is holds|
|000010f0| 20 67 6f 6f 64 20 61 6c | 77 61 79 73 2c 20 77 68 | good al|ways, wh|
|00001100| 79 20 6e 6f 74 20 74 72 | 79 20 73 6f 6d 65 74 68 |y not tr|y someth|
|00001110| 69 6e 67 20 6c 69 6b 65 | 0a 0a 20 20 20 76 6f 69 |ing like|.. voi|
|00001120| 64 2a 20 5f 64 65 72 65 | 66 28 29 20 7b 20 63 6f |d* _dere|f() { co|
|00001130| 75 74 20 3c 3c 20 22 66 | 69 6e 61 6c 5f 31 3a 3a |ut << "f|inal_1::|
|00001140| 5f 64 65 72 65 66 28 29 | 22 20 3c 3c 20 65 6e 64 |_deref()|" << end|
|00001150| 6c 3b 20 0a 09 09 72 65 | 74 75 72 6e 20 28 64 65 |l; ...re|turn (de|
|00001160| 72 69 76 65 64 5f 33 20 | 2a 29 74 68 69 73 3b 0a |rived_3 |*)this;.|
|00001170| 09 7d 3b 0a 0a 73 6f 20 | 74 68 61 74 20 61 6e 79 |.};..so |that any|
|00001180| 20 5f 64 65 72 65 66 28 | 29 20 28 6f 72 20 73 6f | _deref(|) (or so|
|00001190| 6d 65 20 6f 74 68 65 72 | 20 73 69 6d 69 6c 61 72 |me other| similar|
|000011a0| 20 6d 65 74 68 6f 64 2c | 20 69 66 20 79 6f 75 20 | method,| if you |
|000011b0| 77 61 6e 74 20 5f 64 65 | 72 65 66 28 29 20 74 6f |want _de|ref() to|
|000011c0| 0a 65 78 63 6c 75 73 69 | 76 65 6c 79 20 64 65 72 |.exclusi|vely der|
|000011d0| 65 66 65 72 65 6e 63 65 | 20 61 20 66 69 6e 61 6c |eference| a final|
|000011e0| 5f 58 20 6f 62 6a 65 63 | 74 29 20 6f 66 20 63 6c |_X objec|t) of cl|
|000011f0| 61 73 73 20 66 69 6e 61 | 6c 5f 58 20 77 69 6c 6c |ass fina|l_X will|
|00001200| 20 72 65 74 75 72 6e 20 | 61 20 0a 70 6f 69 6e 74 | return |a .point|
|00001210| 65 72 20 74 6f 20 74 68 | 65 20 64 65 72 69 76 65 |er to th|e derive|
|00001220| 64 5f 33 20 28 6f 72 20 | 64 65 72 69 76 65 64 5f |d_3 (or |derived_|
|00001230| 32 2c 20 69 66 20 69 74 | 20 77 6f 72 6b 73 20 66 |2, if it| works f|
|00001240| 69 6e 65 20 66 6f 72 20 | 79 6f 75 72 20 6e 65 65 |ine for |your nee|
|00001250| 64 21 29 2e 0a 0a 0a 54 | 68 65 6e 20 69 6e 20 74 |d!)....T|hen in t|
|00001260| 68 65 20 66 75 6e 63 74 | 69 6f 6e 20 6d 61 69 6e |he funct|ion main|
|00001270| 28 29 2c 20 79 6f 75 20 | 63 61 6e 20 73 69 6d 70 |(), you |can simp|
|00001280| 6c 79 20 73 61 79 0a 0a | 09 64 32 20 3d 20 64 31 |ly say..|.d2 = d1|
|00001290| 2d 3e 5f 64 65 72 65 66 | 28 29 3b 0a 09 64 32 2d |->_deref|();..d2-|
|000012a0| 3e 66 6f 6f 5f 32 28 29 | 3b 0a 0a 54 68 65 20 70 |>foo_2()|;..The p|
|000012b0| 72 6f 62 6c 65 6d 20 65 | 61 72 6c 69 65 72 20 69 |roblem e|arlier i|
|000012c0| 73 20 74 68 61 74 20 6f | 6e 63 65 20 77 65 20 64 |s that o|nce we d|
|000012d0| 6f 20 61 20 63 61 73 74 | 69 6e 67 20 6f 6e 20 61 |o a cast|ing on a|
|000012e0| 20 76 6f 69 64 2a 20 70 | 6f 69 6e 74 65 72 20 28 | void* p|ointer (|
|000012f0| 77 68 69 63 68 0a 69 73 | 20 61 63 74 75 61 6c 6c |which.is| actuall|
|00001300| 79 20 70 6f 69 6e 74 69 | 6e 67 20 74 6f 20 61 20 |y pointi|ng to a |
|00001310| 64 65 72 69 76 65 64 20 | 63 6c 61 73 73 20 6f 62 |derived |class ob|
|00001320| 6a 65 63 74 2c 20 73 61 | 79 20 66 69 6e 61 6c 5f |ject, sa|y final_|
|00001330| 58 29 20 74 6f 20 63 6f | 6e 76 65 72 74 20 69 74 |X) to co|nvert it|
|00001340| 20 74 6f 20 61 20 0a 62 | 61 73 65 20 63 6c 61 73 | to a .b|ase clas|
|00001350| 73 20 70 6f 69 6e 74 65 | 72 20 28 73 61 79 20 64 |s pointe|r (say d|
|00001360| 65 72 69 76 65 64 5f 33 | 29 2c 20 69 74 20 63 61 |erived_3|), it ca|
|00001370| 6e 27 74 20 27 63 68 69 | 70 20 6f 66 66 27 20 74 |n't 'chi|p off' t|
|00001380| 68 65 20 6f 66 66 73 65 | 74 73 20 70 72 6f 70 65 |he offse|ts prope|
|00001390| 72 6c 79 2e 0a 42 75 74 | 20 77 68 65 6e 20 77 65 |rly..But| when we|
|000013a0| 20 64 6f 20 74 68 65 20 | 73 61 6d 65 20 63 6f 6e | do the |same con|
|000013b0| 76 65 72 73 69 6f 6e 20 | 6f 6e 20 61 20 64 65 72 |version |on a der|
|000013c0| 69 76 65 64 20 63 6c 61 | 73 73 20 70 6f 69 6e 74 |ived cla|ss point|
|000013d0| 65 72 2c 20 28 69 6e 20 | 74 68 69 73 20 0a 63 61 |er, (in |this .ca|
|000013e0| 73 65 2c 20 74 68 65 20 | 27 74 68 69 73 27 20 70 |se, the |'this' p|
|000013f0| 6f 69 6e 74 65 72 20 6f | 66 20 74 68 65 20 66 69 |ointer o|f the fi|
|00001400| 6e 61 6c 5f 58 29 20 69 | 74 20 6b 6e 6f 77 73 20 |nal_X) i|t knows |
|00001410| 74 68 65 20 6f 66 66 73 | 65 74 73 20 70 72 6f 70 |the offs|ets prop|
|00001420| 65 72 6c 79 0a 61 6e 64 | 20 65 76 65 6e 20 67 65 |erly.and| even ge|
|00001430| 74 73 20 74 68 65 20 61 | 70 70 72 6f 72 69 61 74 |ts the a|pproriat|
|00001440| 65 20 27 76 70 74 72 27 | 20 74 6f 20 74 68 65 20 |e 'vptr'| to the |
|00001450| 76 69 72 74 75 61 6c 20 | 74 61 62 6c 65 2e 0a 28 |virtual |table..(|
|00001460| 43 61 6e 20 49 20 6d 65 | 6e 74 69 6f 6e 20 31 30 |Can I me|ntion 10|
|00001470| 2e 38 63 20 74 6f 20 31 | 30 2e 31 30 63 20 6f 66 |.8c to 1|0.10c of|
|00001480| 20 41 52 4d 20 61 73 20 | 72 65 66 65 72 65 6e 63 | ARM as |referenc|
|00001490| 65 73 3f 29 0a 0a 49 20 | 77 6f 75 6c 64 20 6c 69 |es?)..I |would li|
|000014a0| 6b 65 20 74 6f 20 6b 6e | 6f 77 20 77 68 65 74 68 |ke to kn|ow wheth|
|000014b0| 65 72 20 74 68 69 73 20 | 72 65 61 6c 6c 79 20 77 |er this |really w|
|000014c0| 6f 72 6b 73 20 66 6f 72 | 20 79 6f 75 20 6f 72 20 |orks for| you or |
|000014d0| 6e 6f 74 2e 0a 0a 4f 6e | 65 20 69 6d 70 6f 72 74 |not...On|e import|
|000014e0| 61 6e 74 20 63 61 75 74 | 69 6f 6e 3a 0a 54 68 65 |ant caut|ion:.The|
|000014f0| 72 65 20 69 73 20 6e 6f | 20 67 61 75 72 65 6e 74 |re is no| gaurent|
|00001500| 65 65 20 74 68 61 74 20 | 74 68 65 20 63 6f 64 65 |ee that |the code|
|00001510| 20 64 65 73 63 72 69 62 | 65 64 20 62 79 20 79 6f | describ|ed by yo|
|00001520| 75 20 64 6f 65 73 6e 27 | 74 20 64 75 6d 70 20 63 |u doesn'|t dump c|
|00001530| 6f 72 65 2e 0a 54 68 65 | 20 62 65 68 61 76 69 6f |ore..The| behavio|
|00001540| 75 72 20 6f 66 20 74 68 | 65 20 70 72 6f 67 72 61 |ur of th|e progra|
|00001550| 6d 20 69 73 20 6d 6f 72 | 65 20 69 6d 70 6c 65 6d |m is mor|e implem|
|00001560| 65 6e 74 61 74 69 6f 6e | 20 64 65 70 65 6e 64 65 |entation| depende|
|00001570| 6e 74 20 62 65 63 61 75 | 73 65 0a 74 68 65 20 77 |nt becau|se.the w|
|00001580| 61 79 20 74 68 65 20 76 | 69 72 74 75 61 6c 20 74 |ay the v|irtual t|
|00001590| 61 62 6c 65 73 20 61 72 | 65 20 69 6d 70 6c 65 6d |ables ar|e implem|
|000015a0| 65 6e 74 65 64 20 6d 61 | 79 20 63 68 61 6e 67 65 |ented ma|y change|
|000015b0| 2e 20 49 6e 20 79 6f 75 | 72 20 63 61 73 65 2c 0a |. In you|r case,.|
|000015c0| 69 74 20 77 6f 72 6b 65 | 64 20 66 69 6e 65 20 62 |it worke|d fine b|
|000015d0| 65 63 61 75 73 65 20 74 | 68 65 72 65 20 69 73 20 |ecause t|here is |
|000015e0| 61 20 76 61 6c 69 64 20 | 66 75 6e 63 74 69 6f 6e |a valid |function|
|000015f0| 20 70 6f 69 6e 74 65 72 | 20 61 74 20 74 68 61 74 | pointer| at that|
|00001600| 20 70 61 72 74 69 63 75 | 6c 61 72 0a 6f 66 66 73 | particu|lar.offs|
|00001610| 65 74 2e 20 42 75 74 20 | 77 68 65 6e 20 49 20 74 |et. But |when I t|
|00001620| 72 69 65 64 20 74 68 65 | 20 73 61 6d 65 20 63 6f |ried the| same co|
|00001630| 64 65 20 6f 6e 20 74 77 | 6f 20 64 69 66 66 65 72 |de on tw|o differ|
|00001640| 65 6e 74 20 69 6d 70 6c | 65 6d 65 6e 74 61 74 69 |ent impl|ementati|
|00001650| 6f 6e 73 2c 20 69 74 0a | 64 75 6d 70 65 64 20 63 |ons, it.|dumped c|
|00001660| 6f 72 65 20 69 6e 20 6f | 6e 65 20 63 61 73 65 20 |ore in o|ne case |
|00001670| 28 77 68 65 72 65 20 69 | 74 20 67 6f 74 20 74 68 |(where i|t got th|
|00001680| 65 20 77 72 6f 6e 67 2f | 69 6e 76 61 6c 69 64 20 |e wrong/|invalid |
|00001690| 70 6f 69 6e 74 65 72 2e | 29 0a 50 6c 65 61 73 65 |pointer.|).Please|
|000016a0| 20 6d 61 6b 65 20 6e 6f | 74 65 20 6f 66 20 69 74 | make no|te of it|
|000016b0| 2e 0a 0a 52 65 67 61 72 | 64 73 0a 0a 2d 20 52 61 |...Regar|ds..- Ra|
|000016c0| 6a 75 20 41 6c 6c 75 72 | 69 0a 0a |ju Allur|i.. |
+--------+-------------------------+-------------------------+--------+--------+